﻿using System.Globalization;
using System.Windows;
using System.Windows.Markup;

using Bonit_It.ViewModel.Cashier;

namespace Bon.It.Cashier
{
    /// <summary>
    /// Interaktionslogik für "App.xaml"
    /// </summary>
    public partial class App : Application
    {
        static App()
        {
            FrameworkElement.LanguageProperty.OverrideMetadata(
                   typeof(FrameworkElement),
                   new FrameworkPropertyMetadata(
                       XmlLanguage.GetLanguage(CultureInfo.CurrentCulture.IetfLanguageTag)));
        }
        protected override void OnStartup(StartupEventArgs e)
        {
            CashierView window = new CashierView();
            CashierViewModel model = new CashierViewModel();
            window.DataContext = model;
            window.Show();
        }
    }
}
